#ifndef _CONTROL_H_
#define _CONTROL_H_

#include "common.h"


#define FAN_255     "255"
#define FAN_100    "100"



#define UART_CMD_WRITE  1
#define UART_CMD_READ   0
typedef enum{
    NAVIGATION_LEDS = 0x01,
    LOW_POWER = 0x02,
    ROBOT_STA_LEDS = 0x03,
}Uart_Operate;


typedef enum{
    GREEN = 0,
    YELLOW = 1,
    RED = 2,
}STA_LEDS;

void four_fans_ctrl(uint8_t action);
void navigation_led_ctrl(uint8_t action);
void power_yuntai_ctrl(uint8_t action);
void navigation_camera_ctrl( uint8_t direction);

#endif // !_CONTROL_H_
